package com.lanchetech.dao;

import com.lanchetech.entity.FreightList;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface FreightListMapper {
    int deleteByPrimaryKey(Long id);

    int insert(FreightList record);

    int insertSelective(FreightList record);

    FreightList selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(FreightList record);

    int updateByPrimaryKey(FreightList record);

    int updateBatch(List<FreightList> list);

    int updateBatchSelective(List<FreightList> list);

    int batchInsert(@Param("list") List<FreightList> list);

    int batchInsert2(@Param("list") List<FreightList> list);

    int deleteByFreightId(@Param("freightId") Long freightId);

    List<FreightList> findAllByFreightId(@Param("freightId") Long freightId);
}